import request from "@/util/request";

export function saveOrUpdate(data) {
    return request({
        url: 'queryConfig/saveOrUpdate',
        method: 'post',
        data: data
    });
}

export function getByBelongNodeId(belongNodeId) {
    return request({
        url: 'queryConfig/getByBelongNodeId',
        method: 'get',
        params: {
            belongNodeId: belongNodeId
        }
    });
}